package pers.cj.pdos.service;

import pers.cj.pdos.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface IPermissionService extends IService<Permission> {
    List<Permission> listAll();
    List<Permission> findByUserId(String userId);
    void insertBatch(List<Permission> list);
}
